/***************************************************************************
 *   Copyright (C) 2009 by Marian Skvarek   *
 *   skvarek.marian@gmail.com   *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A TrackICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *   You should have received a copy of the GNU General Public License     *
 *   along with this program; if not, write to the                         *
 *   Free Software Foundation, Inc.,                                       *
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
 ***************************************************************************/

#ifndef CSCORESETTINGS_H_
#define CSCORESETTINGS_H_

#include "CUtils.h"
#include "CTempo.h"
#include "CFraction.h"
#include "CInstrument.h"

#include<QVector>
#include<QString>

using namespace easyscore::utils;

namespace easyscore
{
	namespace core
	{
		class CInstrument;
		
		namespace utils
		{
			
			class CScoreSettings
			{
//Members
				private:
					QVector<CInstrument*> mInstrumentList;
					QString mAuthorName;
					QString mSongName;
					CTempo mTempo;
					CFraction mTime;
					
//Accessors
				public:
					QVector< CInstrument* > &getInstrumentList(){ return mInstrumentList; }
					void setAuthorName ( const QString& value ) { mAuthorName = value; }
					QString getAuthorName() const { return mAuthorName; }
					void setSongName ( const QString& value ) { mSongName = value; }
					QString getSongName() const { return mSongName; }
					void setTempo ( const CTempo& value ) { mTempo = value; }
					CTempo getTempo() const { return mTempo; }
					CFraction getTime() const { return mTime; }
					void setTime ( const CFraction& value ){ mTime = value; }

//Constructors & Initialization
				public:
					CScoreSettings();
					~CScoreSettings();

			};//class CScoreSettings
			
		}//namespace utils
	}//namespace core
}//namespace easyscore

#endif
